package com.zhou.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor//自动有参构造
@AllArgsConstructor//自动无参构造
@TableName("air_flight_path")
public class FlightPath {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String icaoCode;
    private Date timestamp;
    private double latitude;
    private double longitude;
    private int altitude;
    private short speed;
    private short heading;
    private String sourceType;
}
